#include "config.h"
#include "pool.h"
Pool *Pool::instance = NULL;
//Pool::Pool(const char* _db, const char* _server, const char* _user,
//                       const char* _password, unsigned int _port) {
Pool::Pool() {
	this->db = SQLFS_DB;
	this->server = host;
	this->port = ::port;
	this->user = ::user;
	this->password = pass;
}
	   
Pool* Pool::Get() {
	if(!instance) {
		instance = new Pool();
	}
	return instance;
}
